package com.example.designer.strategy;

import com.example.designer.strategy.impl.FlyImpl;
import com.example.designer.strategy.impl.QuackImpl;

public class Test {
    public static void main(String[] args) {
        Duck duck = new Duck(new FlyImpl(),new QuackImpl());
        duck.duck();
    }
}
